<div class="modal-content">
	<div class="modal-header">
		<h4 class="modal-title" >修改班级</h4>
		<button type="button" class="close" data-dismiss="modal" aria-label="Close">
			<span aria-hidden="true">×</span>
		</button>
	</div>
	<div class="modal-body">
		<form>
			<div class="form-group row">
				<label class="col-sm-2 col-form-label">校区：</label>
				<div class="col-sm-4">
					<select class="form-control" disabled="disabled" ng-options="unit.id as unit.showname for unit in unitList" ng-model="form.fk_unit" ng-change="findGrade()">
						<option value="">==请选择==</option>
					</select>
				</div>
				<label class="col-sm-2 col-form-label">年级：</label>
				<div class="col-sm-4">
					<select class="form-control" disabled="disabled" ng-options="grade.id as grade.name for grade in gradeList" id="grade" ng-model="form.fk_grade" form-check="must" form-check-alert="年级不能为空" ng-change="findmajor()">
						<option value="">==请选择==</option>
					</select>
				</div>
			</div>
			<div class="form-group row" ng-if="isClassMajorShow == '1'">
				<label class="col-sm-2 col-form-label">专业：</label>
				<div class="col-sm-4">
					<select class="form-control" disabled="disabled" ng-options="major.id as major.name for major in majorList" id="major" ng-model="form.fk_major" ng-change="getName()">
						<option value="">==请选择==</option>
					</select>
				</div>
				<label class="col-sm-2 col-form-label">上课教室：</label>
				<div class="col-sm-4">
					<select class="form-control" ng-options="classroom.id as classroom.name for classroom in classroomList" id="major" ng-model="form.fk_classroom">
						<option value="">==请选择==</option>
					</select>
				</div>
			</div>
			<div class="form-group row" ng-if="isClassMajorShow == '1'">
				<label class="col-sm-2 col-form-label">班级代码：</label>
				<div class="col-sm-4">
					<input ng-model="form.code" type="text"  class="form-control"/>
				</div>
				<label class="col-sm-2 col-form-label">早操站位：</label>
				<div class="col-sm-4">
					<input ng-model="form.orders" type="text"  class="form-control"/>
				</div>
			</div>
			<div class="form-group row">
				<label class="col-sm-2 col-form-label">班号：</label>
				<div class="col-sm-4">
					<input ng-model="form.sort" type="text" name="classNo" class="form-control" maxlength="3" form-check="must,number" form-check-alert="请填写正确的班号，如：1、2、3" />
				</div>
			</div>
			<div class="form-group row">
				<label class="col-sm-2 col-form-label">班级名称：</label>
				<div class="col-sm-10" ng-show="form.show">
					<div style="float: left;line-height: 38px;">{{form.gradename}}</div>
					<div id="major_name" ng-if="isClassMajorShow == '1'" style="float: left;line-height: 38px;cursor: pointer;" contenteditable="true" title="点击可进行编辑"></div>
					<div style="float: left;line-height: 38px;">{{form.sort}}班</div>
				</div>
			</div>
		</form>
	</div>
	<div class="modal-footer">
		<button ng-click="saveForm()" type="button" class="btn btn-success"><i class="iconfont icon-correct"></i>&nbsp;保存</button>
	</div>
</div>
